Package-level declarations
Types
This is the base class for all types of transactions. Each transaction is assigned to one account and has an amount that adds to, or subtracts from the value of the account. Each transaction can also have an associated set of 'tags'. Tags are arbitrary key-value pairs of String objects. Typically a transaction will have two sides 1) a "parent" transaction, and 2) one or more "split" transactions. The value of the parent transaction is defined by the sum of the values of the split transactions (possibly adjusted by the rate of each of the split transactions).
The base account class. All types of accounts will subclass this object. This object maintains a list of sub-accounts, as well as the standard attributes associated with an account (name, type, currency, start balance, etc)
AccountBook is the overall container for a data file in Moneydance. It contains references to all transactions, accounts, currencies, securities, budgets, etc.
Listener for events related to an AccountBook data set
Iterator used to scan a set of accounts.
Interface implemented by objects that want to receive notifications when an account is modified.
Miscellaneous functions
Represents a filter for account objects
Container for the set of address entries in Moneydance.
Created by sreilly - 01/08/2014 15:01
Represents a search through a set of transactions where the search criteria is a combination of several searches.
A class that tracks the number of available shares as of a given date, for a particular security. As the date changes, the number of available shares is adjusted for any splits.
Represents one item in a budget
Represents one item in a budget
For one specific category, holds all the budget information (actual vs. budgeted). Since the user can enter multiple budget items per category, holds the list of all budget items for a single category. Amounts are stored in terms of the given category's currency
this contains a list of budget items associated with a budget and is used to perform calculations and interactions with the items of the list without having to query the main data model for every budget-specific interaction.
Container for the budgets in a data file
Represents the date range on which the budget calculations are based upon.
Tracks a buy transaction for capital gain calculations, particularly average cost with long term and short term gains. Per U.S. IRS Publication 564, single-category average cost allocates to the earliest shares acquired first:
Tracks the result of a capital gain computation, including both short term and long term gains. The class is immutable. Updated by Stuart Beesley February 2024 - since MD2024(5100) to allow a more 'complete' set of values to be stored along with the updated CostCalculation class. WARNING: Check isValid() before using results. If not valid then you should assume zeros and no gain calculation!
Represents the check number popup settings for an account, data file, or global preferences
Created by sreilly - 2014.05.05 12:14
Defines the various types of security instruments that can be assigned to a security. Securities may have sub-types as well. The ordinal values are fixed to the original integers mapped to security type, as previously defined in Account:
Class rewritten/fixed by Stuart Beesley February 2024 - since MD2024(5100)
Represents a filter for matching and displaying matched currency objects
Created by sreilly - 03/08/2014 07:31
Created by sreilly - 03/08/2014 07:46
A table containing the set of currencies in a moneydance data set
A structure that represents a single type of currency, identified by the three digit currency code. A stock or security in Moneydance is represented as a currency as it is a unit of value that is relative to some other value (ie the base currency)
Miscellaneous currency functions (mostly conversion).
Representation of parameters that can be applied to a DateRangeOption, in order to shift the start date and multiply the number of periods in certain selections.
Date range unit: A unit of date ranges, that can be used to specify the basic units behind some DateRanges
A GenericTxnSearch class specifies a TxnSearch that matches against either specific transaction fields or against all fields. Investment transaction action field added MD2024(5100)
Search for investment transactions based on their investment action
InvestField objects know how to extract the relevant fields from investment transactions so that they can be more easily edited and displayed.
Defines the various types of investment transactions.
Miscellaneous investment functions
Internal Rate of Return (IRR) calculation engine, along with useful IRR functions.
A TxnTagSet keeps track of the set of TxnTags that are associated with an AbstractTxn.
LoanFields objects know how to extract the relevant fields from loan payment transactions so that they can be more easily edited, displayed and analyzed.
Created by sreilly - 01/08/2014 09:27
A listener interface that can be registered for callbacks when the state of a file (saved, unsaved, etc) changes.
An interface for objects that want to be notified when MemorizedReportInfo objects are added, removed or modified.
NetWorthCalculator objects will calculate the net worth of the specified data file. The calculation can observe or ignore account-specific flags for whether they should be included in net worth calculations. All methods that return a TotalAmount instance, return a duplicated copy of TotalAmount. NetWorthCalculator's internal TotalAmount instance cannot be directly changed by the caller. (Except netWorthBalances: its getBalance() / getBalances() return the stored TotalAmount objects - do not change them.)
This class includes information that describes an online account. Information such as routing number, account number, account type, etc.
OnlineAccountMapping matches online accounts to their local counterpart, and vice versa.
This interface serves as an abstraction for the information associated with a local account.
This class maintains information about the online connections, logins, and financial institutions that we can connect to.
Simple mail object that describes mails that are stored in the users mail list on the online banking server.
This class contains a set of mails that are used for online bill-mail.
Simple payee object that describes payees that are stored in the users payee list on the online banking server.
This class contains a set of payees that are used for online bill-payment.
Simple payment object that describes payments that are stored in the users payment list on the online banking server.
This class contains a set of payments that are used for online bill-payment.
This class describes one online service to which Moneydance can connect. This is generally mean to mean a direct OFX service.
Represents this account's identity within an online service. Calling getBankingServices() yields a list of identities that this account has with an online banking service.
Simple transaction object that holds transactions that are downloaded from a bank, before the transactions can be committed to the local database.
This class contains a set of transactions that are used for online banking and bill-payment.
Concrete class that represents the "source" side of a transaction. Valid transactions of this type are associated with one or more destination (or split) transactions. The value of transactions of this type are the sum of the values of all of the associated splits.
Created by sreilly - 7/27/14 5:44 PM
Identify the type of action that should be applied to transactions, especially reminders, to account for a different exchange rate or security price at some point in time.
Object that contains information about one reconciliation of an account on a given date and time. This should contain metadata about the starting and ending cleared balances, the account that was reconciled, the transactions involved in the reconciliation, etc.
Reminder represents an item (usually a note or transaction) that can be scheduled to occur on a specific date or recurring series of dates.
An interface for objects that want to be notified when reminders in the ReminderSet are added, removed, or modified.
A set of Reminder objects that occur according to some (possibly recurring) schedule
ReportSpec contains all the information for a configured report or graph: the identifier for the kind of report, any configured date range or other parameters. It also contains a flag indicating whether the ReportSpec represents a memorized report or graph, and if so, the name assigned by the user.
Manager for memorized reports and graphs, provides notifications when changes are made. This class also consolidates code that was scattered in several user interface classes. This class has a reference to the root account object and the root account also has a reference to this class to delegate tasks to it.
Represents a single cash flow entry used in Internal Rate of Return (IRR), or Return on Investment (ROI) calculations.
A Txn comparator which compares investment transactions by their securities
Defines the various types of security instruments that can be assigned to a security. Securities may have sub-types as well. The ordinal values are fixed to the original integers mapped to security type, as previously defined in Account:
Simple abstract implementation of TxnSearch that allows for simple definition of a TxnSearch using a single (lambda-able) method
Concrete class that represents the destination side of a transaction. The destination side of the transaction is associated with exactly one source (or parent) transactions. The amount of a SplitTxn is stored in terms of the currency of the account for the associated ParentTxn.
A simple wrapper that is used to hold amounts of a give currency when totaling values of potentially different currencies.
An interface for objects that want to be notified when transactions in the TransactionSet are added, removed, or modified.
The set of transactions that are associated with a data file or RootAccount
A TxnIterator is an iterator that scans both sides of all transactions, treating split transactions as N*2 transactions where N is the number of SplitTxns associated with the ParentTxn. This iterator should be used for all reporting tasks as it scans Txns in their most generic form.
An unsynchronized (unlike Vector) storage for AbstractTxn objects.
Copyright (C) 2019 The Infinite Kind, Limited Created by sreilly - 2019-08-09 14:02
UndoableChange uses the Moneydance sync system to record the before and after state of objects, providing an easy mechanism for undo-ing and redo-ing changes to a set of objects. To use, create an UndoableChange object, and record any deletions with finishDeletion(objectToDelete), creations with finishModification(newObject), and modifications with beginModification(object) before the object is changed and finishModification(object) after. Then record the change with the undo manager's recordChange(change).
An UndoManagerInterface can be provided on platforms that support undo/redo operations to rollback or reapply changes. This provides those functions for moneydance syncable objects which already have a natural pre- and post-change state representation.
Properties
Returns the value of the Txn in terms of a non-security currency. For example, if this is for the security split of an investment transaction, then it will return the value of the buy/sell/short/cover in terms of the investment account's currency instead of the number of shares.